.class Lcom/waiqin365/lightapp/visit/fv;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/fv;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fv;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Lcom/waiqin365/lightapp/visit/b/bg;

    move-result-object v0

    add-int/lit8 v1, p3, -0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bg;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bf;

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/fv;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;)Landroid/content/Context;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightapp/visit/SeniorVisitAddRouteActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "route"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "isEdit"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fv;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    const/16 v2, 0x12d

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/fv;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;->overridePendingTransition(II)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method
